<div class="pageContent">
	
	<form method="post" action="/index.php?act=visitafter&st=visitEdit" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<input type="hidden" name="id" value="{$id}" />
		<div class="pageFormContent" layoutH="58">

			<p>
				<label>客户名称：</label>
				<input name="a[customer_name]" type="text" size="30" class="required" disabled errormsg="请输入客户名称" value="{$visit.info.customer_name}"/>
			</p>
			<p>
				<label>所在省份：</label>
				<input name="a[province]" type="text" size="30" class="required" disabled errormsg="请输入客户所在省份" value="{$visit.info.province}"/>
			</p>
			<p>
				<label>所在城市：</label>
				<input name="a[city]" type="text" size="30" class="required" disabled errormsg="请输入客户所在城市" value="{$visit.info.city}"/>
			</p>
			<p>
				<label>所在区县：</label>
				<input name="a[area]" type="text" size="30" class="required" disabled errormsg="请输入客户所在区县" value="{$visit.info.area}"/>
			</p>
			<p>
				<label>所在街道：</label>
				<input name="a[street]" type="text" size="30" class="required" disabled errormsg="请输入客户所在街道" value="{$visit.info.street}"/>
			</p>
			<p>
				<label>业务所属部门：</label>
				<input name="a[part]" type="text" size="30" class="required" disabled errormsg="请输入业务所属部门" value="{$visit.info.part}"/>
			</p>
			<p>
				<label>维护业务人员：</label>
				<input name="a[sale_name]" type="text" size="30" class="required" disabled errormsg="请输入维护业务人员" value="{$visit.info.sale_name}"/>
			</p>
			<p>
				<label>收集月用户状态：</label>
				<input name="a[status]" type="text" size="30" class="required" disabled errormsg="请输入月用户状态" value="{$visit.info.status}"/>
			</p>
			<div class="unit">
				<label>企业概况：</label>
				<textarea name="a[general]" rows="10" cols="100" class="required" disabled errormsg="请输入企业概况">{$visit.info.general}</textarea>
			</div>
			<div class="unit">
				<label>用户拿货能力：</label>
				<textarea name="a[ability]" rows="10" cols="100" class="required" disabled errormsg="请输入用户拿货能力">{$visit.info.ability}</textarea>
			</div>
			<div class="divider"></div>

			<p>
				<label>问题收集人姓名：</label>
				<input name="b[collection_name]" type="text" size="30" class="required" disabled errormsg="请输入问题收集人姓名" value="{$visit.info.collection_name}"/>
			</p>
			<p>
				<label>问题收集人部门：</label>
				<input name="b[collection_part]" type="text" size="30" class="required" disabled errormsg="请输入问题收集人部门" value="{$visit.info.collection_part}"/>
			</p>
			<p>
				<label>问题收集人电话：</label>
				<input name="b[collection_tel]" type="text" size="30" class="required" disabled errormsg="请输入问题收集人电话" value="{$visit.info.collection_tel}"/>
			</p>
			<p>
				<label>问题收集人职务：</label>
				<input name="b[collection_study]" type="text" size="30" class="required" disabled errormsg="请输入问题收集人职务" value="{$visit.info.collection_study}"/>
			</p>
			<p>
				<label>问题收集渠道：</label>
				<input name="b[collection_channel]" type="text" size="30" class="required" disabled errormsg="请输入问题收集渠道" value="{$visit.info.collection_channel}"/>
			</p>
			<p>
				<label>问题收集日期：</label>
				<input type="text" name="b[collection_date]" class="date required" errormsg="请输入问题收集日期" size="30" dateFmt="yyyy-MM-dd HH:mm:ss" readonly="true" value="{$visit.info.collection_date}"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<div class="divider"></div>
			<p>
				<label>涉及合同：</label>
				<input name="b[agreement]" type="text" size="30" disabled errormsg="请输入涉及合同" value="{$visit.info.agreement}"/>
			</p>
			<p>
				<label>涉及产品：</label>
				<input name="b[product]" type="text" size="30" disabled errormsg="请输入涉及产品" value="{$visit.info.product}"/>
			</p>
			<p>
				<label>涉及牌号：</label>
				<input name="b[grade]" type="text" size="30"  disabled errormsg="请输入涉及牌号" value="{$visit.info.grade}"/>
			</p>
			<p>
				<label>涉及规格：</label>
				<input name="b[format]" type="text" size="30" disabled errormsg="请输入涉及规格" value="{$visit.info.format}"/>
			</p>
			<p>
				<label>涉及数量：</label>
				<input name="b[number]" type="text" size="30" disabled errormsg="请输入涉及数量" value="{$visit.info.number}"/>
			</p>
			<p>
				<label>涉及批号：</label>
				<input name="b[betch]" type="text" size="30" disabled errormsg="请输入涉及批号" value="{$visit.info.betch}"/>
			</p>
			<p>
				<label>问题发生日预判：</label>
				<input type="text" name="b[occur_date]" class="date required" errormsg="请输入问题发生日预判" size="30" dateFmt="yyyy-MM-dd HH:mm:ss" readonly="true" value="{$visit.info.occur_date}"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<p>
				<label>问题提出人姓名：</label>
				<input name="b[person_name]" type="text" size="30" class="required" disabled errormsg="请输入问题提出人姓名" value="{$visit.info.person_name}"/>
			</p>
			<p>
				<label>问题提出人职务：</label>
				<input name="b[person_study]" type="text" size="30" class="required" disabled errormsg="请输入问题提出人职务" value="{$visit.info.person_study}"/>
			</p>
			<p>
				<label>问题提出人电话：</label>
				<input name="b[person_tel]" type="text" size="30" class="required" disabled errormsg="请输入问题提出人电话" value="{$visit.info.person_tel}"/>
			</p>

			<div class="divider"></div>
			{foreach item=item key=key from=$visit.question}
			<div class="question unit">
				<label>问题简称：</label>
				<input name="c[question][]" type="text" size="30" value="{$item.question}" disabled />
			</div>
			<div class="question unit">
				<label>问题描述：</label>
				<textarea name="c[question_desc][]" rows="10" cols="100" disabled >{$item.question_desc}</textarea>
			</div>
			{/foreach}
			<div class="divider"></div>
			<div class="unit">
				<label>问题归类预定责</label>
			</div>
			<div class="unit"></div>
			<p>
				<label>问题性质判定：</label>
				<input name="nature" type="text" size="30" errormsg="请输入问题性质判定" value="{$visit.solution.nature}"/>
			</p>
			<p>
				<label>问题主责单位预判：</label>
				<input name="main_unit" type="text" size="30" errormsg="请输入问题主责单位预判" value="{$visit.solution.main_unit}"/>
			</p>
			<p>
				<label>问题关联单位预判：</label>
				<input name="relation_unit" type="text" size="30" errormsg="请输入问题关联单位预判" value="{$visit.solution.relation_unit}"/>
			</p>
			<p>
				<label>问题发生日确认：</label>
				<input type="text" name="correct_date" class="date" errormsg="请输入问题收集日期" size="30" dateFmt="yyyy-MM-dd HH:mm:ss" readonly="true" value="{$visit.solution.correct_date}"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<p>
				<label>问题重复次数预判：</label>
				<input name="repeat_num" type="text" class="digits" size="30" errormsg="请输入问题重复次数预判" value="{$visit.solution.repeat_num}"/>
			</p>
			<div class="divider"></div>

			<div class="unit">
				<label>问题整改发派</label>
			</div>
			<div class="unit"></div>
			<p>
				<label>整改令发派批次：</label>
				<input name="correction_batch" type="text" size="30" errormsg="请输入整改令发派批次" value="{$visit.solution.correction_batch}"/>
			</p>
			<p>
				<label>整改令发派日期：</label>
				<input type="text" name="correction_date" class="date" errormsg="请输入整改令发派日期" size="30" dateFmt="yyyy-MM-dd HH:mm:ss" readonly="true" value="{$visit.solution.correction_date}"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<p>
				<label>牵头解决单位：</label>
				<input name="solution_unit" type="text" size="30" errormsg="请输入牵头解决单位" value="{$visit.solution.solution_unit}"/>
			</p>
			<p>
				<label>解决负责人：</label>
				<input name="solution_main" type="text" size="30" errormsg="请输入解决负责人" value="{$visit.solution.solution_main}"/>
			</p>
			<p>
				<label>解决联络人：</label>
				<input name="solution_name" type="text" size="30" errormsg="请输入解决联络人" value="{$visit.solution.solution_name}"/>
			</p>
			<p>
				<label>解决联络人电话：</label>
				<input name="solution_tel" type="text" size="30" errormsg="请输入解决联络人电话" value="{$visit.solution.solution_tel}"/>
			</p>
			<div class="divider"></div>

			<div class="unit">
				<label>问题整改回复及定责</label>
			</div>
			<div class="unit"></div>
			<p>
				<label>问题责任单位认定：</label>
				<input name="determi_unit" type="text" size="30" errormsg="请输入问题责任单位认定" value="{$visit.solution.determi_unit}"/>
			</p>
			<p>
				<label>回复问题原因：</label>
				<input name="question_resean" type="text" size="30" errormsg="请输入回复问题原因" value="{$visit.solution.question_resean}"/>
			</p>
			<p>
				<label>回复是否解决：</label>
				<input name="is_solution" type="text" size="30"  errormsg="回复是否解决" value="{$visit.solution.is_solution}"/>
			</p>
			<p>
				<label>回复措施或理由：</label>
				<input name="solution_measure" type="text" size="30" errormsg="回复措施或理由" value="{$visit.solution.solution_measure}"/>
			</p>
			<p>
				<label>回复整改结束时间：</label>
				<input type="text" name="solution_date" class="date" errormsg="回复整改结束时间" size="30" dateFmt="yyyy-MM-dd HH:mm:ss" readonly="true" value="{$visit.solution.solution_date}"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<p>
				<label>回复解决结果：</label>
				<input name="solution_result" type="text" size="30" errormsg="回复解决结果" value="{$visit.solution.solution_result}"/>
			</p>
			<p>
				<label>核准问题重复次数：</label>
				<input name="check_num" type="text" class="digits" size="30" errormsg="核准问题重复次数" value="{$visit.solution.check_num}"/>
			</p>
			<p>
				<label>问题重复追责情况：</label>
				<input name="solution_status" type="text" size="30" errormsg="请输入问题重复追责情况" value="{$visit.solution.solution_status}"/>
			</p>
			<div class="divider"></div>
			
			<div class="unit">
				<label>答复客户</label>
			</div>
			<div class="unit"></div>
			<p>
				<label>问题答复人：</label>
				<input name="repeat_name" type="text" size="30" errormsg="请输入问题答复人" value="{$visit.solution.repeat_name}"/>
			</p>
			<p>
				<label>答复时间：</label>
				<input type="text" name="repeat_date" class="date" errormsg="请输入答复时间" size="30" dateFmt="yyyy-MM-dd HH:mm:ss" readonly="true" value="{$visit.solution.repeat_date}"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<div class="unit">
				<label>答复内容：</label>
				<textarea name="repeat_content" rows="10" cols="100" errormsg="请输入答复内容">{$visit.solution.repeat_content}</textarea>
			</div>
		</div>

	</form>

</div>